package com.syh.jn.scm.domain.downstream.repository.base;

import com.syh.core.ddd.infrastructure.repository.AggregateRepository;
import com.syh.jn.scm.domain.downstream.entity.base.DownBusinessEntityExtGoodsInfo;
import com.syh.jn.scm.dto.downstream.base.DownBusinessEntityExtGoodsInfoVo;

public interface DownBusinessEntityExtGoodsInfoRepository extends DownGoodsExtCodeReadRepository, AggregateRepository<DownBusinessEntityExtGoodsInfo, Long> {
    /**
     * 根据商品id查找扩展编码
     * @param id
     * @return
     */
    public DownBusinessEntityExtGoodsInfoVo getCodeByGoodsId(Long id,Long businessId);
}
